package com.lincoln.server.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "sms-server", fallback = FeignFallBack.class)
public interface FeignService {
    @RequestMapping(value = "/sendSms", method = RequestMethod.GET)
    String sendSms(@RequestParam("content") String content);
}
